/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.wlhy.mapper;


import com.msk.sys.mapper.CrudDao;
import com.msk.wlhy.domain.HtCompany;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 企业信息维护DAO接口
 * @author zkp
 * @version 2018-06-06
 */
@Repository
public interface HtCompanyDao extends CrudDao<HtCompany> {
	public Long findCount(HtCompany htCompany);
	
	public int updateData(HtCompany htCompany);

	public HtCompany getByName(HtCompany htCompany);

	public List<HtCompany> findByUnifiedSocialCreditCode(String unifiedSocialCreditCode);

	public List<HtCompany>  findListNew(HtCompany htCompany);

	public List<HtCompany> findAllReceiverList(HtCompany htCompany);

	/**
	 * @Description 查询收货方列表
	 * @Author wlxiang
	 * @Date 18:58 2023/6/9
	 * @Param 
	 * @param affiliatedPersonId
	 * @param consigneeName
	 * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
	 **/
	public List<Map<String,Object>> selectRecipientList(@Param("affiliatedPersonId")String affiliatedPersonId,@Param("consigneeName")String consigneeName);

	/**
	 * @Description 编辑我的收货方
	 * @Author wlxiang
	 * @Date 14:44 2023/6/12
	 * @Param 
	 * @param params
	 * @return int
	 **/
	public int updateRecipient(Map<String,Object> params);
	
}